#ifndef TOPMENUWIDGET_H
#define TOPMENUWIDGET_H

#include <QWidget>

namespace Ui {
class TopMenuWidget;
}

class TopMenuWidget : public QWidget
{
    Q_OBJECT

public:
    explicit TopMenuWidget(QWidget *parent = nullptr);
    ~TopMenuWidget() override;
    void setFullScreen(bool flag);
    bool getFullScreen();
signals:
    void fullScreen();
    void normalScreen();
    void mouseEnter();
    void mouseLeave();
protected:
    void enterEvent(QEvent *event) override;
    void leaveEvent(QEvent *event) override;

private slots:
    void on_fullscreenPushButton_clicked();

private:
    Ui::TopMenuWidget *ui;
    bool m_isFullScreen;
};

#endif // TOPMENUWIDGET_H
